home *** CD-ROM | disk | FTP | other *** search
/ Enter 2006 September / Enter 09 2006.iso / Enter / config / main.sas < prev    next >
Encoding:
Text File  |  2005-02-27  |  12.2 KB  |  516 lines

  1. {Archiv:ENTER CD}
  2. {ArchivCode:ENTER}
  3.  
  4. ================================================
  5. {#FILEMASK:*.x}
  6. {#SUBDIR:no}
  7. {#PROTO:no}
  8.  
  9. {#ifdef ARCHIWUM}
  10.     {#PORTION:20}
  11. {#else}
  12.     {#PORTION:10}
  13. {#endif}
  14.  
  15. {#APPENDIX:no}
  16. {#EXTRAELMS:yes}
  17.  
  18. {SERVER:saspp://SE}
  19. {CGI:<+SERVER>/sas?u=<%USER>}
  20. {form:<form method="post" action="<+SERVER>/sas">
  21. <input type="hidden" name="u" value="<%USER>">}
  22.  
  23.  
  24. ############################################
  25.  
  26. {X1:500}
  27. {X2:220}
  28.  
  29. {X0:720} X0 = X1 + X2
  30.  
  31. {tmp:<%In=0>}
  32.  
  33. ...........................................
  34. Kolor tla na liscie wyszukanych:
  35. {Xcolor:<%K=NRL%2><?K:"#f8f8f8":"#ffffff">}
  36.  
  37. ...........................................
  38. Kolor tla w tabelce opisu programu:
  39. {Color:<%K=In%2><?K:"white":"#E7EAEE">}     RGB #8AAAd5 
  40. {Color_ramki:#004C7D}
  41.  
  42. ...........................................
  43. Kolor wszystkich odsylaczy
  44. {navy:navy}    #004C7D
  45. Kolor odsylacza najechanego
  46. {red:red}    #488
  47. ...........................................
  48.  
  49. Kolor inputu
  50. {input_color:#E4E1E1}
  51.  
  52. ###########################################
  53. ============== header & footer ===========
  54.  
  55. {Header:
  56. <@Header>\
  57. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Final//EN">
  58. <html>
  59. <head>
  60. <meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
  61. <title><+Title></title>
  62. <+Style>
  63. <script type="text/javascript">
  64. function Nic()\123 
  65. return true;\125
  66. window.onerror = Nic;    
  67. </script>
  68. </head>
  69. <body style="background-color:#004C7D">
  70. <table width="<+X0>" cellspacing="0" cellpadding="0" align="center">
  71. <tr>
  72. <td>}
  73. ......................
  74.  
  75. {Footer:
  76. </table>
  77. <+Footer2>
  78. <br>
  79. </body>
  80. </html>}
  81.  
  82. ==========================================
  83. {#ifdef NIEGOTOWE}
  84.  
  85.     {HOME:
  86.     <+Header>
  87.     <table width="100%" bgcolor="white">
  88.     <tr><td><+Redakcja>
  89.     </table>
  90.     <+Footer>}
  91.  
  92.     {Redakcja:
  93.       <a href="<+CGI>;f=MakeInfos">scalenie</a> (TXT) 
  94.       
  95.       <a href="<+CGI>;f=SASedit">przetworzenie</a> (XML)
  96.     <?IREC=gt=1:QueryBox>}
  97.  
  98.     {MakeInfos:
  99.     <@FileConcat:Root:"sub":"info.txt":Path2outfile:"\n<info:%s>\n":"\n</info>\n">
  100.     <@Engine:"f=SASedit">}
  101.  
  102. {#else} GOTOWE 
  103.  
  104.     {#ifdef ARCHIWUM}
  105.  
  106.     {HOME:        
  107.     <+Header>
  108.     <+QueryBox>\
  109.     <+HomePage>
  110.     <+Footer2>}
  111.         
  112.     {#else}
  113.         {HOME:<@Engine:"par.typ=cover;f=COVER">}
  114.     {#endif}
  115.  
  116. {#endif}
  117.  
  118. ===========================================
  119.  
  120. {table.main:
  121. <table width="<+X0>" align="center" cellspacing="0" bgcolor="white" style="padding-left:2em;padding-right:2em">}
  122.  
  123. .....................................
  124.  
  125. {QUERY:
  126. <+Header>
  127. <+QueryBox>
  128. <@Query:Ifound>
  129. <?Ifound:Found:NotFound>
  130. <+Footer>}
  131.  
  132. {Found:
  133. <@ParValue:"dzial":Q4D>
  134. <+table.main>
  135. <tr><td style="background-image: url('<+Images>/szarak2.png')">
  136. <?LIST:QUERY_NAVIG>
  137. <div> dzia│: <b><+Sel></b> </div>
  138. <@FormList:Lista>
  139. <tr><td> 
  140. </table>}
  141.  
  142. {Sel:<?Q4D=eq="*":"wszystkie":sel_dzial>}
  143. {sel_dzial:<$Sel_dzialy:Q4D>}
  144.  
  145. ...........................................
  146. ===========================================
  147. {#ifndef ARCHIWUM}
  148.  
  149. {COVER:
  150. <+Header>
  151. <+QueryBox>
  152. <@Query:Ifound>
  153. <?Ifound:CoverFound:CoverNotFound>
  154. <+Footer>}
  155.  
  156. {CoverFound:
  157. <table width="<+X0>" align="center" cellspacing="0" cellpadding="0" bgcolor="white">
  158. <%Ic=1>
  159. <@FormList:Cover>
  160. </table>}
  161.  
  162. {CoverNotFound:
  163. <table width="100%" cellspacing="0" cellpadding="20" bgcolor="white">
  164. <tr><td>
  165. <h3 align="center">Brak pozycji typu "cover"</h3>
  166. </table>}
  167.  
  168. {#endif}
  169.  
  170. ===========================================
  171.  
  172. {NotFound:
  173. <table width="100%" cellspacing="0" cellpadding="20" bgcolor="white">
  174. <tr><td>
  175. <h3 align="center">Brak pozycji spe│niaj▒cych podane kryterium</h3>
  176. </table>}
  177.  
  178.  
  179. ===========================================
  180.  
  181. {DOC:
  182. <+Header>
  183. <+QueryBox>
  184. <+table.main>
  185. <@ParValue:"dzial":Q4D>
  186. <tr><td style="background-image: url('<+Images>/szarak2.png')">
  187. <?LIST:DOC_NAVIG><%Soft=0>
  188. <@FormDoc:DocForm>
  189. <tr><td> 
  190. </table>
  191. <+Footer>}
  192.  
  193. ===========================================
  194.  
  195. {QueryBox:
  196. <+Logo>
  197. <table align="center" width="<+X0>" cellspacing="0" cellpadding="2">
  198. <tr valign="bottom">
  199. <td style="background-image: url('<+Images>/szarak.png')">      <+LMenu>
  200. <td style="background-image: url('<+Images>/szarak.png')" align="center">
  201. <!-- query -->
  202. <+form>
  203. <b>nazwa:</b> 
  204. <input type="hidden" name="a" value="yes">
  205. <input type="text" name="tyt" size="32" maxlength="32" class="inp">  
  206. <b>status:</b> 
  207. <select size="1" name="licencja" class="inp">
  208. <option value="shareware">shareware
  209. <option value="free">freeware
  210. <option value="trial">trial
  211. <option value="demo">demo
  212. <option value="pe│n|komerc">pe│ne
  213. <option value="*" selected>dowolny
  214. </select>
  215. <+Wydanie>
  216. <input type="hidden" name="dzial" value="*">
  217. <-- input type="hidden" name="a" value="all" -->
  218. <input type="hidden" name="f" value="QUERY">
  219. <input type="submit" value="Szukaj">
  220. </form>
  221. <!-- /query -->
  222. <tr valign="top">
  223. <td colspan="2" style="background-image: url('<+Images>/szarak.png')" align="center">
  224. <+Lst_dzialy><a href="<+CGI>;dzial=*;f=QUERY">wszystkie</a> 
  225. </table>}
  226.  
  227. .............................
  228.  
  229. {#ifdef ARCHIWUM}
  230.  
  231.     {P2A:<@FullPath:"../enter">}
  232.     {LMenu:<a href="<+CGI>;b=<+P2A>;par.typ=cover;f=COVER">strona g│≤wna</a> }
  233.  
  234. {#else}
  235.  
  236. {P2A:<@FullPath:"../archiwum">}
  237. {LMenu:<@ParValue:"f":Form><?Form="COVER":no_ref2cover:ref2cover> }
  238. {ref2cover:<a href="<+CGI>;par.typ=cover;f=COVER">strona g│≤wna</a>}
  239. {no_ref2cover:<span>strona g│≤wna</span>}
  240.  
  241. ........................
  242.  
  243. {cell:<?Ic=1:ic1:cell2>}
  244. {cell2:<?Ic=2:ic2:cell3>}
  245. {cell3:<?Ic=3:ic3:cell4>}
  246.  
  247. {ic1:<tr valign="top"><td width="30%"><%Ic=2>}
  248.  
  249. {ic2:
  250. <td width="40%" align="center" rowspan="2">
  251. <img alt="" src="<+Images>/srodek.gif">
  252. <td width="30%"><%Ic=3>}
  253.  
  254. {ic3:<tr valign="top"><td><%Ic=4>}
  255.  
  256. {cell4:<td><%Ic=5>}
  257.  
  258. {#endif}
  259.  
  260. ===========================================
  261. {ONAS:
  262. <+Header>
  263. <+QueryBox>
  264. <@Importf:onas_file:External>
  265. <+Footer>}
  266.  
  267. ..........................................
  268. {POMOC:
  269. <+Header>
  270. <+QueryBox>
  271. <@Importf:pomoc_file:External>
  272. <+Footer>}
  273.  
  274. {#ifdef ARCHIWUN}
  275.     {onas_file:<%SASDIR>/dodatki/onas.x}
  276.     {pomoc_file:<%SASDIR>/dodatki/pomoc.x}
  277. {#else}
  278.     {onas_file:<@FullPath:"../enter/dodatki/onas.x">}
  279.     {pomoc_file:<@FullPath:"../enter/dodatki/pomoc.x">}
  280. {#endif}
  281. ..........................................
  282.  
  283. {#ifndef ARCHIWUM}
  284.     {Wydanie:}
  285.     {Wyd:}
  286. {#endif}
  287.  
  288. ================ ramka w paski ====================
  289. {open.ramka:
  290. <br><%In=0>
  291. <!-- info -->
  292. <table width="98%" align="center" cellpadding="2" cellspacing="0" style="border:1px solid <+Color_ramki>">
  293. <tr><td colspan="2" style="background-color:<+Color_ramki>;font-weight:bold;color:white"> Informacje:
  294. <+tdr>}
  295. ......................
  296. {close.ramka:</table>
  297. <!-- /info -->\n}
  298. ......................
  299. {trd:\n<%In=In+1><tr bgcolor="<+Color>"><td>}
  300. {tdd:</td><td>}
  301. {tdr:</td></tr>}
  302.  
  303. ===================================================
  304.  
  305. {close.soft:
  306. </table>
  307. <!-- /soft -->\n}
  308.  
  309.  
  310. {#ifdef ARCHIWUM}
  311.  
  312. {open.soft:
  313. <!-- soft -->
  314. <table width="100%" cellspacing="0" cellpadding="3">
  315. <tr valign="top">
  316. <td width="80%" valign="top">
  317. <span style="color:red"><b><%WydBuf></b></span> 
  318. <b><%dbuf><b>
  319. <br><span class="tyt"><%Tyt></span></td>}
  320.  
  321.  
  322. {#else} ................................................    
  323.  
  324.  
  325. {open.soft:
  326. <!-- soft -->
  327. <table width="100%" cellspacing="10" cellpadding="3">
  328. <tr valign="top">
  329. <td width="80%" valign="top"><b><$Sel_dzialy:dbuf></b>
  330. <br><span class="tyt"><%Tyt></span></td>
  331. <+folder>}
  332.  
  333. .....................
  334.  
  335. {shell:saspp://SE/shell#}
  336.  
  337. {formexe:<td width="10%" align="center"><a class="sub" href="<+shell><+Dir>/<%Exe>"><+instal.ico><%Exe></a></td>}
  338. {folder:<td width="10%" align="center" onClick="window.open('file:<+Dir>/','nowe','width=400,height=150,left=400,top=300,menubar,scrollbars,resizable')"><+folder.ico>FOLDER</td>}
  339.  
  340. ....................
  341. {instal.ico:<img src="<+Images>/instal.jpg" alt="instal"><br>}
  342. {folder.ico:<img src="<+Images>/folder.jpg" alt="folder"><br>}
  343. ....................
  344. {#endif}
  345.  
  346. ===========================================
  347.  
  348. {Dir:<@FullPath:apath>}
  349. {apath:../<%pbuf>}
  350.  
  351. ============= TAGS & Formaty ==============
  352.        
  353. {#TAGS}
  354. {:-<info>}
  355. {:i<ident.wyd>}
  356. {:-<ident>}
  357. {:i<dzial>}
  358. {:-<path>}
  359. {:i<tyt>}
  360. {:i<par.typ>}        /* cover */
  361. {:-<par>}
  362. {:-<ramka>}
  363. {:-<autor>}
  364. {:-<wersja>}
  365. {:-<data>}
  366. {:-<rozmiar>}
  367. {:i<licencja>}
  368. {:-<typ>}
  369. {:-<cena>}
  370. {:-<ograniczenia>}
  371. {:-<deinstalator>}
  372. {:-<wymagania>}
  373. {:-<internet>}
  374. {:-<soft>}
  375. {:-<exe>}
  376. {:-<e-mail>}
  377. {:-<img>}
  378. {:-<i>}
  379. {:-<b>}
  380. {:-<e>}
  381. {:-<tt>}
  382. {:-<http>}
  383.  
  384. ..................................................
  385. {tcell:
  386. <tr bgcolor="<+Xcolor>" valign="top">
  387. <td width="<+X0>" style="padding:.5em;border-bottom:1px dashed silver">}
  388. ..................................................
  389.  
  390. {Lista}
  391.  
  392. {#ifdef ARCHIWUM}
  393.  
  394. {:-<ident.wyd>|<@AttrValue:"wyd":WydBuf>}
  395. {:-<tyt>|<@Store:tbuf>|}
  396. {:-<licencja>|<@Store:lbuf>|}
  397. {:-<info>|<%lbuf="--"><%wbuf="--">|
  398. <+tcell>
  399. <div style="padding:.3em 0">
  400. <span style="color:red;font-weight:bold"><%WydBuf> </span>
  401. <a class="prog" href="<+CGI>;r=<%NRL>;p=<%LIST>.<%IPOR>;f=DOC;dzial=<%Q4D>"><%tbuf></a>
  402.  <span style="color:red;font-weight:bold"><%lbuf></span></div>}
  403.  
  404. {#else}
  405.  
  406. {:-<tyt>|<@Store:tbuf>|}
  407. {:-<licencja>|<@Store:lbuf>|}
  408. {:-<wymagania>|<@Store:wbuf>|}
  409. {:-<e>|<@Store:ebuf>|}
  410.  
  411. {:-<info>|<%lbuf="--"><%wbuf="--"><%ebuf="">|
  412. <+tcell>
  413. <div style="padding:.3em 0">
  414. <a class="prog" href="<+CGI>;r=<%NRL>;p=<%LIST>.<%IPOR>;f=DOC;dzial=<%Q4D>"><%tbuf></a>
  415. </div>
  416. <?ebuf:display_opis>
  417. <div><b>Licencja:</b> <%lbuf></div>
  418. <div><b>Wymagania:</b> <%wbuf></div>}
  419.  
  420. {display_opis:<div><%ebuf></div>}
  421.  
  422. {#endif}
  423.  
  424. {nazwadzialu:<$Sel_dzialy:dbuf>  }
  425.  
  426. ......................................................
  427. ======================================================
  428.  
  429. {DocForm}
  430.  
  431. {#ifdef NIEGOTOWE}
  432. {:=<ident>|<@AttrValue:"wyd":WydBuf>}
  433. {#endif}
  434.  
  435. {#ifdef ARCHIWUM}
  436. {:=<ident>|<@AttrValue:"wyd":WydBuf>}
  437. {#endif}
  438.  
  439. {:=<dzial>|<@Store:dbuf>}
  440. {:=<path>|<@Store:pbuf>}
  441. {:=<tyt>|<@Store:Tyt>|}
  442. {:=<soft>|<tr><td><-- class="pp" -->\n<+open.soft>|<+close.soft>}
  443.  
  444. /* dzial, tyt, path, exe */
  445.  
  446. {:=<par>|<tr><td><-- class="pp" -->\n<@UseForm:par>}
  447. {:=<ramka>|<tr><td><-- class="pp" -->\n<+open.ramka>|<+close.ramka>}
  448.  
  449. {#ifndef ARCHIWUM}
  450. {:=<img>|<@UseForm:img>}
  451. {:-<exe>|<@Store:Exe>|<?Exe=ne="uzup":formexe>}
  452. {#endif}
  453.  
  454. {:-<autor>|<+trd>Autor:<+tdd>|<+tdr>}
  455. {:-<wersja>|<+trd>Wersja:<+tdd>|<+tdr>}
  456. {:-<data>|<+trd>Data:<+tdd>|<+tdr>}
  457. {:-<deinstalator>|<+trd>Deinstalator:<+tdd>|<+tdr>}
  458. {:-<rozmiar>|<+trd>Rozmiar:<+tdd>|<+tdr>}
  459. {:-<licencja>|<+trd>Licencja:<+tdd>|<+tdr>}
  460. {:-<typ>|<+trd>Typ:<+tdd>|<+tdr>}
  461. {:-<cena>|<+trd>Cena:<+tdd>|<+tdr>}
  462. {:-<ograniczenia>|<+trd>Ograniczenia:<+tdd>|<+tdr>}
  463. {:-<wymagania>|<+trd>Wymagania:<+tdd>|<+tdr>}
  464.  
  465. {:-<http>|<@Store:Buf>|<a target="_blank" href="http://<%Buf>"><%Buf></a>}
  466. {:-<e-mail>|<@Store:Buf>|<+trd>E-mail:<+tdd><a href="mailto:<%Buf>"><%Buf></a><+tdr>}
  467. {:-<internet>|<@Store:Buf>|<+trd>Internet:<+tdd><a target="_blank" href="http://<%Buf>"><%Buf></a><+tdr>}
  468.  
  469. {:-<tt>|<span class="tt">|</span>}
  470. {:-<e>|<br><span style="color:black">|</span>}
  471. {:-<b>|<b>|</b> }
  472. {:-<i>|<i>|</i> }
  473. {:-<u>|<u>|</u> }
  474.  
  475. .................................
  476.  
  477. {img}
  478. {:-<img>|<@Store:buf>|<tr><td align="center">
  479. <br><img src="<+Dir>/<%buf>" alt="<%buf>">}
  480. {:o<img.typ=c>|}    
  481.  
  482. .................................
  483. {par}
  484. {:-<par>|<div class="p">|</div>}
  485. {:-<par.typ=pkt>|<div class="p">•   |</div>}
  486. {:o<par.typ=cover>|}
  487.  
  488. ======================================================
  489.  
  490.  
  491. {#ifndef ARCHIWUM}
  492.  
  493. {Cover}
  494. {:-<info>|<+cell>}
  495. {:-<path>|<@Store:pbuf>|<br>
  496. <div align="center"><a href="<+CGI>;r=<%NRL>;p=<%LIST>.<%IPOR>;f=DOC"><img src="<+Dir>/box.gif" border="0" alt="opis/instaluj"></a></div>}
  497.  
  498. {:-<tyt>|<div style="text-align:center;font-weight:bold"><a href="<+CGI>;r=<%NRL>;p=<%LIST>.<%IPOR>;f=DOC">|</a></div>}
  499.  
  500. {#endif}
  501.  
  502. ==============================
  503.  
  504. {External}
  505. {:-<doc>|<table width="100%" cellpadding="5" bgcolor="white" align="center">
  506. <tr><td><-- class="pp" -->|<br><br> </td></tr></table>}
  507. {:-<tyt>|<div style="font-size: 160%">|</div>}
  508. {:-<styt>|<div style="font-size: 120%">|</div>}
  509. {:-<*>|<@OrgTag>|<@OrgTag>}
  510.  
  511. ==============================
  512.  
  513. __EOF__
  514.  
  515.  
  516.